@media screen and (max-width: 1439px) {
    $size: ('12':12px, '14':12px, '15':13px, '16':14px, '17':15px, '18':16px, '20':18px, '22':18px, '32':25px);

    @each $key,
    $val in $size {
        .s-#{$key} {
            font-size: $val;
        }
    }

    #register {
        .el-form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .el-form-item {
            width: 280px;
        }

        .register-btn {
            width: 280px;
            height: 3.33vw;
            margin-top: 0;
        }
    }

    .menu {
        // width: 220px;
        padding-top: 3px;

        .grade {
            margin-bottom: 10px;

            .grade-name {
                margin-bottom: 10px;
            }
        }

        // .el-menu-vertical-demo {
        //     margin-top: 3px;
        //     margin-bottom: 10px;
        //     overflow: auto;
        //     height: calc(100vh - 155px);
        //     overflow-x: hidden;
        // }

        // .el-submenu {
        //     .el-menu-item {
        //         height: 30px;
        //         line-height: 30px;
        //         font-size: 12px;
        //         min-width: 0;
        //         width: 175px;

        //     }
        // }
    }

    #home {
        .logo-item {
            .main-logo {
                width: 287px;
                height: 32px;
            }
        }

        .logo-user {
            padding-top: 5px;
        }
    }

    #courseware {
        .resource {
            .start {
                width: 105px !important;
                height: 35px !important;
                line-height: 35px !important;
            }

            .class-status {
                img {
                    width: 12px !important;
                    height: 12px !important;
                }
            }
        }
    }

    #lesson {
        padding-top: 10px;
    }

    .lesson-res {
        margin-top: 10px;
        display: grid;
        height: calc(100vh - 182px);
        grid-template-columns: repeat(3, 237px);
        grid-gap: 10px 10px;
        overflow: auto;

        .defaultppt-logo {
            width: 65px;
            height: 25px;
        }

        .res-name {
            margin-top: 4px;
            font-size: 14px;
        }

        .l-r-items {
            min-height: 184px;
            border-radius: 8px;

            .category {
                img {
                    width: 60px;
                    height: 23px;
                }
            }

            .thumbnail-container {
                img {
                    width: 237px;
                    height: 130px;
                }

                .resource-description {
                    padding: 0 10px;
                    padding-top: 15px;
                }
            }

            .add-res {
                margin-top: 4px;
                font-size: 14px;
            }
        }
    }

    .lesson-handel {
        flex: none;

        .handel-item:not(:last-child) {
            margin-right: 20px;
        }
    }

    #information {
        .el-select {
            width: 130px;
        }

        .code-container {
            margin-left: 20px;

            .el-input {
                width: 286px !important;
            }
        }
    }

    .design {
        height: calc(100vh - 136px);

        .test-download {
            right: 23px;

            .icon-test {
                width: 16px;
                height: 16px;
                margin-right: 1px;
            }

            .icon-de {
                right: 1px;
            }
        }
    }

    #person {
        .logo-item {
            .main-logo {
                width: 287px;
                height: 32px;
            }
        }

        .logo-user {
            padding-top: 5px;
        }

        .person-container {
            // height: calc(100vh - 115px);
            // background: rgba(205, 216, 225, 0.3);
            width: 838px;
            margin: 0 auto;
            border-radius: 8px;
            padding: 21px 14px 12px 14px;
            margin-top: 14px;

            .header {
                margin-bottom: 17px;
            }
        }

        .person-menu {
            width: 184px;
            padding: 14px;
            margin-right: 14px;
        }

        .menu-item {
            width: 155px;
            height: 71px;
        }

        #initial {
            width: 574px;
            margin: 14px;

            .button {
                width: 75px;
                height: 37px;
                margin-right: 20px;
            }

            .user-card {
                height: 167px;
                margin-bottom: 22px;
                padding: 0 10px;
                padding-top: 12px;
                width: 100%;

                .el-input,
                .el-input__inner {
                    width: 254px;
                    height: 40px;
                    border-radius: 8px;
                }
            }

            .el-input {
                margin: 0 12px;
                flex: 1;
                height: 37px;
            }

            .cutLine {
                height: 1px;
                margin: 0 auto;
                margin-top: 8px;
                margin-bottom: 17px;
            }

            .el-button {
                width: 71px;
                height: 40px;
                border-radius: 8px;
                margin-right: 40px;
            }

            .code-container {
                margin-left: 7px;
            }

            .search-result {
                margin-left: 10px;
            }
        }

    }

    #about {
        width: 100%;
        margin-top: -3px;
        padding-top: 15px;
        padding-left: 20px;
        padding-right: 20px;

        .about-logo {
            width: 63px;
            height: 63px;
        }

        .app-name {
            margin-top: 12px;
            margin-bottom: 9px;
        }

        .about-button {
            width: 84px;
            height: 28px;
            line-height: 28px;
            margin-top: 12px;
            margin-bottom: 12px;
        }

        .description {
            line-height: 21px;
        }

        .service {
            margin-top: 20px;
            margin-bottom: 15px;
        }

        .service-item {
            img {
                width: 14px;
                height: 14px;
                margin-right: 0px;
            }
        }

        .code {
            width: 85px;
            height: 85px;
            margin-left: 7px;
        }
    }

    #main-dialog {
        height: calc(100vh - 135px);
        top: 50px;
    }

    #load-message {
        .container {
            overflow: hidden;
            height: 486px;

            .el-table td,
            .el-table th {
                padding: 8px 0;
            }

            .top-content {
                height: 50px;
            }

            .top-list {
                width: 80px;
            }

            .handel-btn {
                width: 80px;
                height: 28px;
                line-height: 28px;
            }

            .el-table {
                height: 400px !important;
            }

            .el-progress-bar {
                width: 150px;
            }

            .el-progress__text {
                margin-left: 10px;
                font-size: 12px !important;
            }
        }
    }
}

@media screen and(min-width:1028px) and(max-width:1439px) {
    // .lesson-res {
    //     margin-top: 10px;
    //     display: grid;
    //     height: calc(100vh - 195px);
    //     grid-template-columns: repeat(3, 344px);
    //     grid-gap: 10px 10px;
    //     overflow: auto;

    //     img {
    //         width: 344px;
    //         height: 191px;
    //     }

    //     .l-r-items {
    //         height: 238px;
    //         width: 344px;
    //         border-radius: 8px;
    //     }
    // }

    // .design {
    //     height: calc(100vh - 150px);

    //     .test-download {
    //         right: 40px;

    //         .icon-test {
    //             margin-right: 1px;
    //         }

    //         .icon-de {
    //             right: 1px;
    //         }
    //     }
    // }
}